﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SightTarget : MonoBehaviour
{
    //枪械控制器
    public GunController gunController;
    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }

    //开火动画后回调，执行上膛动作
    public void afterFire()
    {
        gunController.charge();
    }
}
